package com.kerrykidz.scminvoicing.dao.model;

import java.util.Date;
import java.util.List;

import com.kerrykidz.workflow.vo.WorkflowVo;
import com.rdp.framework.core.model.MyBatisSuperModel;

public class ScmPurOrderEntity extends MyBatisSuperModel {
	private String pkPurordId;
	private String fkFlowinstId;
	private String status;
	private String fkSupId;
	private String fkBranId;
	private String delFlag;
	private String applyBy;
	private Date applyTime;
	private String fksupAgmId;
	private String deliveryStatus;
	private String usrName;// 用户名
	private String userId;//当前登录的用户id
	private String isRel; //是否重新申请提交
	private List<ScmPurordPrdEntity> purOrdPrdList;
	private WorkflowVo workflowVo;
	/**
	 * 供货商名
	 */
	private String supplierName;
	private String userName;
	
	/** 商品分类名称 **/
	private String pCateName;
	/**
	 * 起始时间
	 */
	private Date startTime;

	/**
	 * 结束时间
	 */
	private Date endTime;
    private String startApplyTime;
    private String endApplyTime;
	private String modiBy;
	private Date modiTime;
	
	/** 关联的 付款申请单 详细 表 中的  采购订单id，用来 判断 付款申请单 是否选择此订单 **/
	private String payFormorderId;
	
	/** 关联的 付款申请单 详细 表 中的  付款申请单id，用来 判断 付款申请单 是否选择此订单 **/
	private String fkPayFormId;
	
	private List<String> selectId;

	//申请人姓名
	private String applyName;
	
	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public  ScmPurOrderEntity(){
		
	}
	
    public ScmPurOrderEntity(String pkPurordId,String fkFlowinstId,String status,String fkSupId, 
    		String fkBranId,String delFlag,String applyBy,Date applyTime, String modiBy,Date modiTime){
    	this.pkPurordId =pkPurordId;
    	this.fkFlowinstId =fkFlowinstId;
    	this.status = status;
    	this.fkSupId = fkSupId;
    	this.fkBranId =fkBranId;
    	this.delFlag =delFlag;
    	this.applyBy = applyBy;
    	this.applyTime = applyTime;
    	this.modiBy =modiBy;
    	this.modiTime =modiTime;
    }
    
    public List<String> getSelectId() {
		return selectId;
	}

	public void setSelectId(List<String> selectId) {
		this.selectId = selectId;
	}
	
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getDeliveryStatus() {
		return deliveryStatus;
	}

	public void setDeliveryStatus(String deliveryStatus) {
		this.deliveryStatus = deliveryStatus;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.PK_PURORD_ID
	 * 
	 * @return the value of scm_pur_order.PK_PURORD_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getPkPurordId() {
		return pkPurordId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.PK_PURORD_ID
	 * 
	 * @param pkPurordId
	 *            the value for scm_pur_order.PK_PURORD_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setPkPurordId(String pkPurordId) {
		this.pkPurordId = pkPurordId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.FK_FLOWINST_ID
	 * 
	 * @return the value of scm_pur_order.FK_FLOWINST_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getFkFlowinstId() {
		return fkFlowinstId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.FK_FLOWINST_ID
	 * 
	 * @param fkFlowinstId
	 *            the value for scm_pur_order.FK_FLOWINST_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setFkFlowinstId(String fkFlowinstId) {
		this.fkFlowinstId = fkFlowinstId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.STATUS
	 * 
	 * @return the value of scm_pur_order.STATUS
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.STATUS
	 * 
	 * @param status
	 *            the value for scm_pur_order.STATUS
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.FK_SUP_ID
	 * 
	 * @return the value of scm_pur_order.FK_SUP_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getFkSupId() {
		return fkSupId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.FK_SUP_ID
	 * 
	 * @param fkSupId
	 *            the value for scm_pur_order.FK_SUP_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setFkSupId(String fkSupId) {
		this.fkSupId = fkSupId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.FK_BRAN_ID
	 * 
	 * @return the value of scm_pur_order.FK_BRAN_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getFkBranId() {
		return fkBranId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.FK_BRAN_ID
	 * 
	 * @param fkBranId
	 *            the value for scm_pur_order.FK_BRAN_ID
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setFkBranId(String fkBranId) {
		this.fkBranId = fkBranId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.DEL_FLAG
	 * 
	 * @return the value of scm_pur_order.DEL_FLAG
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getDelFlag() {
		return delFlag;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.DEL_FLAG
	 * 
	 * @param delFlag
	 *            the value for scm_pur_order.DEL_FLAG
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.APPLY_BY
	 * 
	 * @return the value of scm_pur_order.APPLY_BY
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public String getApplyBy() {
		return applyBy;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.APPLY_BY
	 * 
	 * @param applyBy
	 *            the value for scm_pur_order.APPLY_BY
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setApplyBy(String applyBy) {
		this.applyBy = applyBy;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column scm_pur_order.APPLY_TIME
	 * 
	 * @return the value of scm_pur_order.APPLY_TIME
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public Date getApplyTime() {
		return applyTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column scm_pur_order.APPLY_TIME
	 * 
	 * @param applyTime
	 *            the value for scm_pur_order.APPLY_TIME
	 * 
	 * @mbggenerated Tue Aug 05 17:54:39 CST 2014
	 */
	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public String getUsrName() {
		return usrName;
	}

	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStartApplyTime() {
		return startApplyTime;
	}

	public void setStartApplyTime(String startApplyTime) {
		this.startApplyTime = startApplyTime;
	}

	public String getEndApplyTime() {
		return endApplyTime;
	}

	public void setEndApplyTime(String endApplyTime) {
		this.endApplyTime = endApplyTime;
	}
	public String getModiBy() {
		return modiBy;
	}
	public void setModiBy(String modiBy) {
		this.modiBy = modiBy;
	}
	public Date getModiTime() {
		return modiTime;
	}
	public void setModiTime(Date modiTime) {
		this.modiTime = modiTime;
	}

	public String getFksupAgmId() {
		return fksupAgmId;
	}

	public void setFksupAgmId(String fksupAgmId) {
		this.fksupAgmId = fksupAgmId;
	}

	public WorkflowVo getWorkflowVo() {
		return workflowVo;
	}

	public void setWorkflowVo(WorkflowVo workflowVo) {
		this.workflowVo = workflowVo;
	}

	public String getpCateName() {
		return pCateName;
	}

	public void setpCateName(String pCateName) {
		this.pCateName = pCateName;
	}

	public String getPayFormorderId() {
		return payFormorderId;
	}

	public void setPayFormorderId(String payFormorderId) {
		this.payFormorderId = payFormorderId;
	}

	public String getFkPayFormId() {
		return fkPayFormId;
	}

	public void setFkPayFormId(String fkPayFormId) {
		this.fkPayFormId = fkPayFormId;
	}

	public List<ScmPurordPrdEntity> getPurOrdPrdList() {
		return purOrdPrdList;
	}

	public void setPurOrdPrdList(List<ScmPurordPrdEntity> purOrdPrdList) {
		this.purOrdPrdList = purOrdPrdList;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIsRel() {
		return isRel;
	}

	public void setIsRel(String isRel) {
		this.isRel = isRel;
	}
	
}